//
//  XBActivityModel.m
//  FindPreciousFrameWork
//
//  Created by TianZhen on 16/4/12.
//  Copyright © 2016年 MoreMoney. All rights reserved.
//

#import "XBActivityModel.h"

@implementation XBActivityModel

+ (NSArray *)models
{
    NSMutableArray *imageURLs = [NSMutableArray array];
    
    [imageURLs addObject:@"http://image1.xunbaozl.com/FvXwjPMcGAu7sW15BS3Cv8jGOJkD"];
    [imageURLs addObject:@"http://image1.xunbaozl.com/Fi_rd1zNOEsfzkUJvGqQCbfA1tLW"];
    [imageURLs addObject:@"http://image1.xunbaozl.com/FhAEK4UelNENJNBdvMfx-FD-ex65"];
    [imageURLs addObject:@"http://image1.xunbaozl.com/FpacqN0P8yZENcp5-MdOYsK_imTX"];
    [imageURLs addObject:@"http://image1.xunbaozl.com/FtS_1xFbKHVpbgmoGJcdgi0v5CX0"];
    [imageURLs addObject:@"http://image1.xunbaozl.com/FkyXZZ6xW5Sqp1c_3wYNoAVpOKyk"];
    [imageURLs addObject:@"http://image1.xunbaozl.com/FmLEQ4cAs4Ng_bzNSNNeXLor7Nja"];
    
    NSMutableArray *result = [NSMutableArray arrayWithCapacity:imageURLs.count];
    int i = 1;
    for (NSString *imageURL in imageURLs) {
        // 创建模型
        XBActivityModel *model = [[XBActivityModel alloc] init];
        model.imageURL = imageURL;
        model.canyu = i * 16;
        model.zan = i * 6;
        i++;
        [result addObject:model];
    }
    return result;
}
@end
